package com.example.permissionsystem1_1.businessFunction.service.interfaces;

import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.roleFunctionReqModel.RoleFunctionSelectAllFunctionsByRoleIdReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.roleFunctionReqModel.RoleFunctionSetRoleFunctionRelationReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.userRoleReqModel.UserRoleSelectAllRolesByUserIdReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.reqModel.userRoleReqModel.UserRoleSetUserRoleRelationReqModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.roleFunctionRspModel.RoleFunctionSelectAllFunctionsByRoleIdRspModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.roleFunctionRspModel.RoleFunctionSetRoleFunctionRelationRspModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.userRoleRspModel.UserRoleSelectAllRolesByUserIdRspModel;
import com.example.permissionsystem1_1.businessFunction.service.entity.rspModel.userRoleRspModel.UserRoleSetUserRoleRelationRspModel;
import com.example.permissionsystem1_1.common.businessFunction.BaseService;

public interface RoleFunctionService extends BaseService {

    /**
     * 根据用户id查询全部角色信息
     * @param reqModel
     * @return
     */
    RoleFunctionSelectAllFunctionsByRoleIdRspModel selectAllFunctionsByRoleId(RoleFunctionSelectAllFunctionsByRoleIdReqModel reqModel);

    /**
     * 设置用户与角色的关联关系
     * @param reqModel
     * @return
     */
    RoleFunctionSetRoleFunctionRelationRspModel setRoleFunctionRelation(RoleFunctionSetRoleFunctionRelationReqModel reqModel);



}
